import Vue from "vue";
import App from "@/App.vue";
import router from "@/router";
import store from "@/store";
// import ElementUI from 'element-ui';
import { Empty ,Message} from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/less/reset.less";
import "nprogress/nprogress.css";
import "@/assets/less/common.less";
import "@/assets/iconfont/iconfont.css";
import {pushSearch} from "@/utils";
// Vue.use(ElementUI);
new Vue({
    store,
    beforeCreate() {
        Vue.prototype.$bus = new Vue();
        Vue.prototype.$pushSearch = pushSearch;
        Vue.prototype.$message = Message;
        Vue.component(Empty.name, Empty);
    },
    router,
    render:h=>h(App)
}).$mount('#app')